package com.lantosec.hmrp.modules.system.service;

import com.lantosec.hmrp.core.kit.Result;
import com.lantosec.hmrp.modules.system.entity.UserAutograph;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lantosec.hmrp.modules.system.vo.UserAutographVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author AutoCode
 * @since 2020-06-28
 */
public interface IUserAutographService extends IService<UserAutograph> {

    UserAutographVO getByUserId(String userId);

    Result saveUserAutograph(UserAutographVO vo);

    /**
     * 查询用户全部签名
     * @param userId
     * @return
     */
    List<UserAutographVO> getAll(String userId);
}
